package com.shierke.Ume.ui.fragment.me

import ViewPagerAdapterLazyFragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import com.shierke.Ume.R
import com.shierke.Ume.ui.adapter.me.VipOrderAdapter
import kotlinx.android.synthetic.main.fragemnt_vip_order.*

/**
 * Create by Ybx
 * on 2020-10-18
 * Desribe:
 */
class VipOrderFragment : ViewPagerAdapterLazyFragment() {
    override fun onFragmentShow() {

    }

    override fun onFragmentHide() {

    }


    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)

        vipRecycle.layoutManager = LinearLayoutManager(activity)
        val adapter = VipOrderAdapter()
        vipRecycle.adapter = adapter

    }


    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {

        val inflate =
            LayoutInflater.from(activity).inflate(R.layout.fragemnt_vip_order, null, false)
        return inflate
    }
}